<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>后台首页</title>
<link rel="stylesheet" type="text/css"
	href="<?=base_url()?>public/css/style.css">
<script type="text/javascript"
	src="<?=base_url()?>public/js/jq.1.12.4.js"></script>
<script type="text/javascript" src="<?=base_url()?>public/js/js.js"></script>
<style type="text/css">
.btn {
    background-color: #254e01;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    width: 40%;
    margin-left: 29%;
    height: 35px;
    text-align: center;
    line-height: 32px;
    color: white;
    margin-top: 15px;
    font-size: 18px;
    border-radius: 13px;
}
.logoimg {
    width: 229px;
    height: 62px;
    border-radius: 13px;
    background-color: #f7fee3;
}
</style>
</head>
<body>
	<!-- 头部 -->
	<?php echo $menu?>
	<!-- 主体 -->
	<div class="main clearfix">
		<?php echo $left?>
		<div class="content">
			<div class="con">
				<div class="bikuang">
					<div class="right_title">
						<span>操作后台&nbsp;&nbsp; -<span style="color: #1d3e00; margin: 0;">&nbsp;&nbsp;后台首页</span></span>
					</div>

					<div
						style="border-bottom: 1px dotted #c2c5ba; padding-bottom: 20px;">
						<div class="person">
							<?php echo form_open_multipart('admin/index/update_web_message'); ?>
							<input type="hidden" name="id" value="<?php echo $web_message['id'];?>">
							<!--<p>
								<span>网站LOGO：</span><img alt="" class="logoimg" src="http://www.dedaotianhe.com<?=base_url()?>public/img/<?php echo $web_message['logo_path'];?>">
							</p>
							<p>
								<span>网站LOGO上传：</span><input type="file" name="logo" id="logo">
							</p>
							<p>
								<span>网站标题：</span><input type="text" name="title" id="title" value="<?php echo $web_message['title'];?>">
							</p>
							<p>
								<span>网站名称：</span><input type="text" name="name" id="name" value="<?php echo $web_message['name'];?>">
							</p>
							<p>
								<span>网站关键字：</span><input type="text" name="keyword" id="keyword" value="<?php echo $web_message['keyword'];?>">
							</p>
							<p>
								<span>网站描述：</span><input type="text" name="description" id="description" value="<?php echo $web_message['description'];?>">
							</p> -->
							<p>
								<span>匹配人数：</span><input type="text" name="pipei_num" id="pipei_num" value="<?php echo $pipei_num; ?>">
							</p>
							<p>
								<span>出局人申请开始时间：</span><input type="text" name="start_time" id="start_time" value="<?php echo $start_time;?>">
							</p>
							<p>
								<span>出局人申请结束时间：</span><input type="text" name="end_time" id="end_time" value="<?php echo $end_time;?>">
							</p>
							<p>
								<span>爱心基金池：</span><input type="text" name="aixinchi" id="aixinchi" value="<?php echo $aixinchi;?>">
							</p>
							<p style="text-align:center;">
								<a target="_brank" href="<?=base_url()?>pipei">匹配</a>
							</p>
							<input id="tijiao" type="submit" value="提交" class="btn">
							</form>
						</div>
					</div>

				</div>
			</div>
		</div>
	</div>
	</div>

	<script type="text/javascript">
$(function(){

  $('#tijiao1').on('click', function(event) {
    
    //网站名称
    if($('#name').val() == ''){
      alert('请输入网站名称');
      return false;
    }

	//网站标题
    if($('#title').val() == ''){
      alert('请输入网站标题');
      return false;
    }
    
  });
})
</script>

</body>
</html>